laravel get query output

47

laravel get query output -

DB::enableQueryLog(); // Enable query log

// Your Eloquent query executed by using get()

dd(DB::getQueryLog()); // Show results of log

Comments

Submit
0 Comments